<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>

    <script type="text/javascript" src="<c:url value='/common/js/purchase.charge.js' />"></script>
	
	<script type="text/javascript">
		var onClickCustomer = function() 
		{
			$(this).combobox('reload', '<c:url value='/customer/getCustomerByType.html' />');
		}
		var onClickCustomerCombox = function() 
		{
			$(this).combobox('reload', '<c:url value='/customer/getCustomerByType.html' />?customerTypeCode=0');
		}
		var onClickProviderCombox = function() 
		{
			$(this).combobox('reload', '<c:url value='/customer/getCustomerByType.html' />?customerTypeCode=1');
		}
		var onClickGoods = function() 
		{
			$(this).combobox('reload', '<c:url value='/goods/getAllModel.html' />');
		}
		var onShowCustomerLevel = function() 
		{
			$(this).combobox('reload', '<c:url value='/customerLevel/getAllModel.html' />');
		}
		var onShowCustomerStatus = function() 
		{
			$(this).combobox('reload', '<c:url value='/customerStatus/getAllModel.html' />');
		}
		var onShowCustomerTrade = function() 
		{
			$(this).combobox('reload', '<c:url value='/customerTrade/getAllModel.html' />');
		}
		var onShowCustomerSource = function() 
		{
			$(this).combobox('reload', '<c:url value='/customerSource/getAllModel.html' />');
		}
		var onShowPaymentAccount = function() 
		{
			$(this).combobox('reload', '<c:url value='/paymentAccount/getAllModel.html' />');
		}
	</script>
